/* The statment below simply deletes the customer, indicated by the id passed in
as a REQUEST property. We check to be sure the value is not null to prevent
executing an SQL query that would have no effect.
*/
if(request.ID != null)
{
database.execute("delete from customer where customer.ID = " + request.ID);
}
redirect("delete.htm");